<?php echo form_open_multipart(uri_string())?>    
    <table class="form">
        <tr>
            <td class="label" style="width: 150px;"><?php echo lang('news_category_name');?></td>
            <td>
                <select id="parent_id" name="category_id" class="w300">
                     <option value=""> <?php echo lang('news_select_category_news');?></option>
                    <?php echo $option_pid ?>
                </select>
            </td>
        </tr> 
        <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('news_name');?></td>
            <td><input type="text" name="title" id="name" class="w250" value=""></td>
        </tr> 
       <!--  <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('news_name_en');?></td>
            <td><input type="text" name="title_en" id="name_en" class="w250" value=""></td>
        </tr> -->
         <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('news_description');?></td>
            <td><textarea name="description" class="dimensions_textarea"></textarea>
          
            </td>
        </tr>
        <!--<tr>
            <td class="label"></td>
            <td class=""><input class="submit" type="button" name="translate" value="<?php echo lang('admin_translate');?>" onclick="show_hide_tag('show_description_en');"/></td>
        </tr>-->
        
          <!--<tr class="hidden" id="show_description_en">
            <td class="label" style="width: 150px;"><?php echo lang('news_description_en');?></td>
            <td><textarea name="description_en" class="dimensions_textarea"></textarea>
          
            </td>
        </tr>-->
        <tr id="content">
            <td class="required label" style="width: 150px;"><?php echo lang('news_content');?></td>
            <td>
           		 <textarea name="content" class="mceAdvanced" style="width:800px; height:300px;"></textarea>
            </td>
        </tr>
    <!--    <tr>
            <td class="label"></td>
            <td class=""><input class="submit" type="button" name="translate" value="<?php echo lang('admin_translate');?>" onclick="show_hide_tag('show_content_en');"/></td>
        </tr>
        <tr class="hidden" id="show_content_en">
            <td class="label" style="width: 150px;"><?php echo lang('news_content_en');?></td>
            <td>
           		 <textarea name="content_en" class="mceAdvanced" style="width:800px; height:300px;" ></textarea>
            </td>
        </tr>-->
        <tr>
        
            <td class="label" style="width: 150px;"><?php echo lang('news_keywords');?></td>
            <td><input type="text" name="seo_keyword" id="news_keywords" class="w250" value=""></td>
        </tr>
        <tr>
        
            <td class="label" style="width: 150px;">Tags </td>
            <td><textarea name="tags" class="dimensions_textarea"></textarea></td>
        </tr>
        <!-- <tr>
            <td class="label" style="width: 150px;"><?php echo lang('news_keywords_en');?></td>
            <td><input type="text" name="seo_keyword_en" id="news_keywords" class="w250" value=""></td>
        </tr>-->
        <tr>
            <td class="label" style="width: 150px;"><?php echo lang('news_order');?></td>
            <td><input type="text" name="nb_order" id="nb_order" class="w250" value=""></td>
        </tr>
         
         <tr>
            <td class="label" style="width: 150px;">Hình ảnh đại diện</td>
            <td> <input type="text" name="lb_image" class="w350" value="" id="file_name">
             <a href="<?php echo base_url()?>file_manager/img_lib/file_name" id="addimages" class="cboxElement" title="<?php echo lang('file_mng_add_file');?>"> <img src="<?php echo base_url()?>templates/images/icon/attach.png" alt=""> </a></td>
        </tr>
        <!--<tr>
            <td class="label" style="width: 150px;">Hẹn giờ đăng bài</td>
            <td>
            <input type="text" id="datepicker" size="30" name="dt_public"  />
             
            </td>
        </tr>-->
        <tr>
            <td class="label" style="width: 150px;"><?php echo lang('news_home');?></td>
           <td><input type="checkbox" name="bl_home" id="bl_active" checked  value="1"  onclick="setCheckboxValue(this);"></td>
        </tr>
        <tr>
            <td class="label"><?php echo lang('active_deactive');?></td>
            <td><input type="checkbox" name="bl_active" id="bl_active" checked  value="1"  onclick="setCheckboxValue(this);"></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="bt_submit" value="" class="capnhat">
            </td>
        </tr>  
    </table>
     <script type="text/javascript">
	jQuery(document).ready(function() {	
		jQuery( "#datepicker" ).datepicker({dateFormat: 'yy-mm-dd'});
	});
	</script> 
<?php echo form_close()?>